MATH: Python is a powerful mathematical tool that can handle any equations that a calculator can!

  • Go to the LOGIC tab and the toolkit. Drag Addition into the code editor.
  • Change the variable name from my_var to addition and change the numbers in the equation.
  • Drag out Subtraction next, Change my_var to subtraction and change the numbers in the equation.
  • Click Run to see the results. Click Submit and Next when ready.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)